import request from '@/utils/request'

//合作列表
export function cooperationLists(params?: any) {
    return request.get({ url: '/cooperation.cooperation/lists', params })
}

// 关闭合作
export function cooperationClose(params: any) {
    return request.post({ url: '/cooperation.cooperation/closeCooperation', params })
}

// 合作详情
export function cooperationDetail(params: any) {
    return request.get({ url: '/cooperation.cooperation/detail', params })
}

// 合作变更记录
export function cooperationOperationRecords(params: any) {
    return request.get({ url: '/cooperation.cooperation/operationRecords', params })
}
// 变更合作纠纷
export function isDispute(params: any) {
    return request.post({ url: '/cooperation.cooperation/isDispute', params })
}
// 创建合作
export function createData(params: any) {
    return request.post({ url: '/cooperation.cooperation/createData', params })
}
// 喜报列表
export function posterList(params: any) {
    return request.get({ url: '/cooperation.cooperation/posterList', params })
}
// 喜报详情
export function posterInfo(params: any) {
    return request.get({ url: '/cooperation.cooperation/posterInfo', params })
}
// 修改喜报
export function savePoster(params: any) {
    return request.post({ url: '/cooperation.cooperation/savePoster', params })
}